<%@ page import="com.bafa.objects.season.Season" %>
<%@ page import="com.bafa.objects.season.Division" %>
<%@ page import="com.bafa.objects.team.TeamSeasonStats" %>
<%@ page import="com.bafa.objects.team.TeamStats" %>
<%@ page import="com.bafa.objects.player.*" %>
<%@ page import="com.bafa.objects.*" %>
<%@ page import="com.bafa.middle.*" %>
<%@ page import="com.bafa.front.presentationbeans.*" %>
<%@ page import="java.util.*" %>
<% LeaguePositionBean team = (LeaguePositionBean)request.getAttribute("RECORD");   %>
<% SeasonBean season = (SeasonBean)session.getAttribute("THISSEASON");%>
<% PlayerListBean players = (PlayerListBean)request.getAttribute("SCORERS");   %>
<% 
User user = (User)session.getAttribute("LOGGEDON");
%>



<style>
ul#alltimerecord,ul#alltimerecord li{margin:0;padding:0;list-style:none}
	ul#alltimerecord li{float:left;width:153px;margin:0 10px 10px 0}
	ul#alltimerecord h3{font: bold  Verdana,sans-serif;
	    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#alltimerecord p{margin:0;padding:5px 8px 15px}
	ul#alltimerecord div{background:#FFFFFF}
	li#alltimerecord div{border:2px solid #D2D2D2}
	
	
</style>





<ul id="alltimerecord"><li id="alltimerecord"><h3 class="avlh">All Time Record </h3>
    <div>
      <table width="252" border="0" class="bafatablevsmall">
               <tr class="r1">
	                      <td><strong>Won</strong></td>
	                      <td><%=team.getWon()%></td>
	                    </tr>
	                    <tr class="r2">
	                      <td><strong>Drawn</strong></td>
	                      <td><%=team.getDrawn()%></td>
	                    </tr>
	                    <tr class="r1">
	                      <td><strong>Lost</strong></td>
	                      <td><%=team.getLost()%></td>
	                    </tr>
	                    <tr class="r2">
	                      <td><strong>Goals For </strong></td>
	                      <td><%=team.getGoalsFor()%></td>
	                    </tr>
	                    <tr class="r1">
	                      <td><strong>Goals Against </strong></td>
	                      <td><%=team.getGoalsAgainst()%></td>
	                    </tr>
	                    <tr class="r2">
	            	  <td><strong>% won</strong></td>
	            	  <td><%=team.getPercentageWins()%>%</td>
	            	</tr>
	            
	            	<tr class="r1">
	            	  <td><strong>goals per games</strong></td>
	            	  <td><%=team.getAverageGoalsFor()%></td>
	            	</tr>
	            	<tr class="r2">
	            	  <td><strong>conceded per game</strong></td>
	            	  <td><%=team.getAverageGoalsAgainst()%></td>
        	</tr>
              
     <tr><td></td></tr>
         </table>
	<!--<form action="displayteamhistory.bafa"><input type="hidden" name="TeamId" value="<%=team.getId()%>"/><input class='leftbutton' type='submit' name='submit' value='Records' /></form>-->
    </div>
</li>
</ul>